package be.felnederlands.client.data;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.thirdparty.guava.common.collect.Lists;

public class Word {

	private String word;
	private String definition;
	private List<String> examples = new ArrayList<String>();
	
	public Word(String word, String definition, String example) {
		this.word = word;
		this.definition = definition;
		this.examples.add(example);
	}
	
	public Word(String word, String definition, List<String> examples) {
		this.word = word;
		this.definition = definition;
		this.examples = examples;
	}

	public String getWord() {
		return word;
	}

	public String getDefinition() {
		return definition;
	}

	public String getFirstExample() {
		return examples.get(0);
	}

	public List<String> getExamples() {
		return examples;
	}
	
}
